package com.szqhyxj.youxiangju.biz.partnerHome.home.fragment.partnerequipment;

import com.google.gson.annotations.SerializedName;
import com.szqhyxj.youxiangju.sys.BaseResult;
import com.szqhyxj.youxiangju.sys.RetrofitFacade;

import io.reactivex.Observable;
import retrofit2.http.POST;

/**
 * Created by leung on 2018/11/20.
 */

public class PartnerEquipmentPaymentModel {

    private interface PartnerEquipmentPaymentService{
        @POST("partner/index")
        Observable<BaseResult<PartnerequipmentEntity>> partnerHomeInfo();
    }

    public static Observable<BaseResult<PartnerequipmentEntity>> getpartnerHomeInfo() {
        return RetrofitFacade.Companion.getRetrofit().create(PartnerEquipmentPaymentService.class).partnerHomeInfo();
    }





    public static class PartnerequipmentEntity{

        @SerializedName("proxyEntity")
        private ProxyEntity proxyEntity;

        @SerializedName("monthActivateRewards")
        private String monthActivateRewards;

        @SerializedName("quickEntity")
        private QuickEntity quickEntity;

        public void setProxyEntity(ProxyEntity proxyEntity){
            this.proxyEntity = proxyEntity;
        }

        public ProxyEntity getProxyEntity(){
            return proxyEntity;
        }

        public void setMonthActivateRewards(String monthActivateRewards){
            this.monthActivateRewards = monthActivateRewards;
        }

        public String getMonthActivateRewards(){
            return monthActivateRewards;
        }

        public void setQuickEntity(QuickEntity quickEntity){
            this.quickEntity = quickEntity;
        }

        public QuickEntity getQuickEntity(){
            return quickEntity;
        }

        @Override
         public String toString(){
            return
                "PartnerequipmentEntity{" +
                "proxyEntity = '" + proxyEntity + '\'' +
                ",monthActivateRewards = '" + monthActivateRewards + '\'' +
                ",quickEntity = '" + quickEntity + '\'' +
                "}";
            }
    }
}
